package com.prs.crm.dao.personalset.impl;

import java.util.List;

import org.hibernate.Criteria;


import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.personalset.ShortcutWayDao;
import com.prs.crm.domain.personalset.ShortcutWay;

public class ShortcutWayDaoImpl extends BaseDaoImpl<ShortcutWay> implements ShortcutWayDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<ShortcutWay> getAllShortcutWay() {
		Criteria criteria=this.getSession().createCriteria(ShortcutWay.class);
		return criteria.list();
	}

}
